import request from '@/utils/request'

// 查询光盘台账列表
export function listYqgptz(query) {
  return request({
    url: '/archive/yqGptz/list',
    method: 'get',
    params: query
  })
}

// 查询光盘台账详细
export function getYqgptz(id) {
  return request({
    url: '/archive/yqGptz/' + id,
    method: 'get'
  })
}

// 新增光盘台账
export function addYqgptz(data) {
  return request({
    url: '/archive/yqGptz',
    method: 'post',
    data: data
  })
}

// 修改光盘台账
export function updateYqgptz(data) {
  return request({
    url: '/archive/yqGptz',
    method: 'put',
    data: data
  })
}

// 删除光盘台账
export function delYqgptz(id) {
  return request({
    url: '/archive/yqGptz/' + id,
    method: 'delete'
  })
}
